<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>网站后台管理中心-Powered by Lqcms</title>

<style type="text/css">
body {
    background-color: #F5F9FE;
    color: #000000;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    height: 100%;
    margin: 0;
}
.login_top {
    height: 140px;
}
input {
    font-family: Arial,Helvetica,sans-serif;
}
.login_box_rig_an {
    background-image: url(__PUBLIC__/images/login_a.jpg);
    border: 0 none;
    font-size: 12px;
    height: 24px !important;
    line-height: 20px;
    text-align: center;
    width: 80px !important;
}
.login_box_input {
    font-family: Arial,Helvetica,sans-serif;
    height: 15px;
    padding: 3px;
    width: 150px;
}
.login_box_captcha {
    height: 15px;
    padding: 3px;
    width: 70px;
}
</style>
<script type="text/javascript">
/*
*重载验证码
*/
//重载验证码
function fleshVerify()
{
var timenow = new Date().getTime();

document.getElementById('verifyImg').src= '__URL__/verify.html?'+timenow;

//提交数据前，对数据进行检查
function check_form()
{
	if(document.getElementById('user_name').value=="")
	{
		alert('请输入用户名!');
		document.getElementById('user_name').focus();
		return false;
	}
	if(document.getElementById('user_password').value=="")
	{
		alert('请输入密码!');
		document.getElementById('user_password').focus();
		return false;
	}
	if(document.getElementById('checkcode').value=="")
	{
		alert('请输入验证码!');
		document.getElementById('checkcode').focus();
		return false;
	}
	return true;
}
}
</script>

</head>

<body>
  <div class="login_top"></div>
  <form id="form1" name="form1" method="post" action="__URL__/login" onSubmit="return check_form()">
    <table border="0" align="center" cellpadding="0" cellspacing="0"  class="link_lan">
      <tr>
        <td valign="top">
        <table width="230" border="0" style="margin-top:10px;border-right:1px  #CCCCCC solid;"   >
            <tr>
            <td><img src="__PUBLIC__/images/login_logo.gif" /></td>
            </tr>
        </table>
        </td>
        <td width="300">
        <table width="100%" border="0" cellpadding="0" cellspacing="4">
          <tr>
            <td width="75" height="26" align="right">用户名：</td>
            <td ><input name="user_name" type="text" maxlength="16" id="user_name"  class="login_box_input"/></td>
          </tr>
          <tr>
            <td height="26" align="right">密&nbsp;&nbsp;&nbsp;&nbsp;码：</td>
            <td ><input name="user_password" type="password" id="user_password"  class="login_box_input"/></td>
          </tr>
          <tr>
            <td height="26" align="right">验证码：</td>
            <td><input name="checkcode" id="checkcode" class="login_box_captcha" type="text" maxlength="6" />
           <img src='__URL__/verify' name="verifyImg" align="absmiddle" id="verifyImg" style='width:75px; height:24px; cursor:pointer;border:#999999' title="看不请验证码？点击更换一张" onclick="fleshVerify();"/></td>
          </tr>
          <tr>
            <td height="30">&nbsp;</td>
            <td ><input class="login_box_rig_an" type="submit" name="Submit" value="登录" />
                 <input type="hidden" name="login_yy" value="login" /></td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td height="100" colspan="2" align="center" style="color:#666666; line-height:180%">
        一剪梅是一个采用 PHP 和 MySQL 构建的高效CMS系统解决方案 <a href="#" target="_blank">技术论坛</a><br />
        Powered by <a href="#" target="_blank"><em>一剪梅</em></a> Copyright &copy;2011 </td>
      </tr>
    </table>
</form>
</body>
</html>
